package com.myway.service.payment.Oceanpayment;

import com.myway.dto.common.JsonData;
import com.myway.dto.payment.oceanpayment.OceanpaymentParams;
import com.myway.pojo.FlyOrder;
import com.myway.pojo.FlyOrderPayment;

/**
 * Created by qianmi-05 on 2018/8/15.
 */

public interface OceanpaymentServcie {

    //Oceanpayment 付款  pages如果是null 默认是0  也就是pc
    public OceanpaymentParams OceanpaymentToPay(String orderid, String pages);

    //Oceanpayment 退款
    public String OceanpaymentToRefund(String orderid);

    public int addPaymentInfo(String payment_id,String $order_number,String $order_currency,String $order_amount,String methods,String $card_number,String order_notes,String payment_status);

    public int addOrderPaymentInfo(FlyOrderPayment flyOrderPayment);

    public FlyOrder selectByOrderId(String orderId);
}
